import Vue from 'vue'
import Vuex from 'vuex'



// //引入分类页接口
import classifyList from './classifyList'
// //引入详情页页接口
import detail from './detail'

Vue.use(Vuex)


export default new Vuex.Store({
    state: {
        showMine: true // 我的页面显示状态
    },
    mutations: {
        changeShowMine(state, payload) { // 改变我的页面显示状态
            state.showMine = payload
        },
    },
    actions: {

    },
    modules: {
        detail: detail,
        classifyList: classifyList
    }
})